package edu.zut.hb.software.waypath.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import edu.zut.hb.software.base.domain.BaseEntity;
@Table(name = "line")
@Entity
public class Line extends BaseEntity<Long> {

    private static final long serialVersionUID = -4376674977047164142L;

    @Column(name = "name")
    private String name;

    @Column(name = "num")
    private int num;

    @Column(name = "status")
    private boolean status;

    public static long getSerialVersionUID() {
        return serialVersionUID;


    }

    public String getName() {
        return name;
    }

    //public Hospital getHospital() { return hospital; }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }
}